package cn.maidouya.org.service.impl;

import cn.maidouya.basic.service.impl.BaseServiceImpl;
import cn.maidouya.basic.util.PageLIst;
import cn.maidouya.org.domain.Employee;
import cn.maidouya.org.mapper.EmployeeMapper;
import cn.maidouya.org.query.EmployeeQuery;
import cn.maidouya.org.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class EmployeeServiceImpl extends BaseServiceImpl<Employee> implements EmployeeService {
    @Autowired
    private EmployeeMapper employeeMapper;
    // 批量删除
    @Override
    @Transactional
    public void batDel(Long[] ids) {
        employeeMapper.batDel(ids);
    }
}